﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Dynamic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Runtime.Serialization;
namespace ModelLayer
{
    [DataContract]
    public class Company
    {

        public Company(string companyName, int companyCode, string companyLogo, string address, string phone, string fax,
            string mobile, string email, string webPage, DateTime datePublished, ZipCodes zipCode)
        {
            CompanyName = companyName;
            CompanyCode = companyCode;
            CompanyLogo = companyLogo;
            Address = address;
            Phone = phone;
            Fax = fax;
            Mobile = mobile;
            Email = email;
            WebPage = webPage;
            DatePublished = datePublished;
            ZipCode = zipCode;
        }

        public Company()
        {}


        [DataMember]
        public int CompanyId { get; set; }

        [DataMember]
        public string CompanyName { get; set; }

        [DataMember]
        public int CompanyCode { get; set; }

        [DataMember]
        public string CompanyLogo { get; set; }

        [DataMember]
        public string Address { get; set; }

        [DataMember]
        public string Phone { get; set; }

        [DataMember]
        public string Fax { get; set; }

        [DataMember]
        public string Mobile { get; set; }

        [DataMember]
        public string Email { get; set; }

        [DataMember]
        public string WebPage { get; set; }

        [DataMember]
        public DateTime DatePublished { get; set; }

        [DataMember]
        public ZipCodes ZipCode { get; set; }


        




    }

   
}

